Previous Book Contents Book Index Next

Inside Macintosh: Open Transport /
Chapter 6 - Configuration Management / Configuration Management Reference
Functions / Getting Information About Ports


OTGetProviderPortRef

Identifies the port associated with a given provider.

C INTERFACE
OTPortRef OTGetProviderPortRef(ProviderRef ref);
C++ INTERFACES
OTPortRef TProvider::GetOTPortRef();

PARAMETERS
ref
The provider for which you wish to obtain the port.
DESCRIPTION
The OTGetProviderPortRef function returns the port reference for the provider identified by the ref parameter. If the function returns 0, then either no port was associated with this provider or there were multiple associated ports and Open Transport did not know which to return.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 AUG 1996